package com.chainyoung.component_tmperson.ui.activity.financing;

import android.webkit.WebView;

import com.chainyoung.common.base.WebViewActvity;
import com.chainyoung.common.di.AppComponent;

public class WalletFinancingRuleActivity extends WebViewActvity {

    @Override
    protected void setupActivityComponent(AppComponent appComponent) {

    }

    @Override
    protected void initUI() {
        super.initUI();
        String title=getIntent().getStringExtra("title");
        setCurrentTitle(title.length()>14?title.substring(0,14)+"...":title);
        mWebView.getSettings().setDefaultFontSize(40);
        mWebView.loadDataWithBaseURL(null, url, "text/html", "UTF-8", null);
    }

    @Override
    protected void initData() {

    }
}
